package org.wisdom.ac.domain.user.entity;

import javax.persistence.Entity;

import org.springframework.core.annotation.Order;
import org.wisdom.data.jpa.entity.BaseEntity;

import lombok.*;
import lombok.extern.slf4j.Slf4j;

/**
 * 系统用户角色
 *
 * @author 张智研
 * @date 2022/05/23 15:31
 **/
@EqualsAndHashCode(callSuper = true)
@Entity
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Slf4j
public class AcUserRole extends BaseEntity {

    /** 用户id */
    @Order(1)
    private String userId;

    /** 角色id */
    @Order(2)
    private String roleId;
}
